package com.juc.forkJoinPool.forkJoinPool15;

import java.util.concurrent.ForkJoinPool;

public class Run4 {

	public static void main(String[] args) throws InterruptedException {
		MyRecursiveTask4 task = new MyRecursiveTask4();
		ForkJoinPool pool = new ForkJoinPool();
		System.out.println(pool.isQuiescent());
		pool.submit(task);
		Thread.sleep(1000);
		System.out.println(pool.isQuiescent());
	}
}
